package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.KingTravelTripEntity;

/**
 * 差旅费报销单的行程单Service接口
 * 
 * @author wutao
 * @date 2024-08-23
 */
public interface IKingTravelTripService extends IService<KingTravelTripEntity> {
    /**
     * 查询差旅费报销单的行程单
     * 
     * @param id 差旅费报销单的行程单ID
     * @return 差旅费报销单的行程单
     */
    public KingTravelTripEntity selectKingTravelTripEntityById(String id);

    /**
     * 查询差旅费报销单的行程单列表
     * 
     * @param kingTravelTripEntity 差旅费报销单的行程单
     * @return 差旅费报销单的行程单集合
     */
    public List<KingTravelTripEntity> selectKingTravelTripEntityList(KingTravelTripEntity kingTravelTripEntity);

    /**
     * 新增差旅费报销单的行程单
     * 
     * @param kingTravelTripEntity 差旅费报销单的行程单
     * @return 结果
     */
    public int insertKingTravelTripEntity(KingTravelTripEntity kingTravelTripEntity);

    /**
     * 修改差旅费报销单的行程单
     * 
     * @param kingTravelTripEntity 差旅费报销单的行程单
     * @return 结果
     */
    public int updateKingTravelTripEntity(KingTravelTripEntity kingTravelTripEntity);

    /**
     * 批量删除差旅费报销单的行程单
     * 
     * @param ids 需要删除的差旅费报销单的行程单ID
     * @return 结果
     */
    public int deleteKingTravelTripEntityByIds(String[] ids);

    /**
     * 删除差旅费报销单的行程单信息
     * 
     * @param id 差旅费报销单的行程单ID
     * @return 结果
     */
    public int deleteKingTravelTripEntityById(String id);
}
